
AUX_SOURCE_DIRECTORY(. DIR_STATIC_SRCS)
AUX_SOURCE_DIRECTORY(./Demo1 DIR_STATIC_SRCS)

#添加头文件目录


SET(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)           #设置库文件的输出目录

ADD_LIBRARY (Demo1Lib STATIC ${DIR_STATIC_SRCS})
